package com.andy.web.user.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import com.andy.domain.result.BaseResult;

@RestController
@RequestMapping("/manage")
public class UserController {
	
	
	@RequestMapping("/index")
	public ModelAndView getIndex() {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("manage/star/star-manage");
		
		return mv;
	}
	
	@RequestMapping("/user")
	public BaseResult getUserInfo() {
		BaseResult res = new BaseResult();
		res.setCode(200);
		res.setMessage("suc");
		res.setValue("fgff");
		
		return res;
	}
	
	
}
